package com.cmsz.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import com.cmsz.dao.ISearchDB;

//@Service
//@Repository
@Component
public class DBService {

	@Autowired
	private ISearchDB searchDB;
	
	public void func(String str) {
		String a = searchDB.selectFromDB(str)+"_chulihou";
		System.out.println("从数据库中查出数据在这里逻辑处理"+a);
	}
}
